<div class="navbar navbar-default">
	<div class="container-fluid">
		<div class="navbar-header">
			<a class="navbar-brand" href="{:url('index/index')}">菜花考试系统</a>
		</div>
		<ul class="nav navbar-nav navbar-right">
			<li class="nav-li"><a data-target="#modifyModal" data-toggle="modal">修改密码</a></li>
			<li class="nav-li"><a href="{:url('index/index')}"><span>教师主页</span></a></li>
			<!--<li class="nav-li"><a href="#"><span class="glyphicon glyphicon-envelope"></span><span>消息</span><span class="badge badge-danger">{$messageCount}</span></a></li>-->
			<li class="nav-li"><a href="{:url('logout')}"><span class="glyphicon glyphicon-log-out"></span><span>退出</span></a></li>
		</ul>
	</div>
</div>
<form action="modifyPassword" method="post">
	<div class="modal fade" id="modifyModal" tabindex="-1" role="dialog" aria-labelledby="modifyModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button class="close" type="button" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">修改密码</h4>
				</div>
				<div class="modal-body form-horizontal">
					<div class="form-group">
						<label for="oldPassword" class="col-md-2 control-label">旧密码：</label>
						<div class="col-md-8">
							<input type="password" class="form-control" name="oldPassword" id="oldPassword" placeholder="请输入旧密码"/>
						</div>
					</div>
					<div class="form-group">
						<label for="newPassword" class="col-md-2 control-label">新密码：</label>
						<div class="col-md-8">
							<input type="password" class="form-control" name="newPassword" id="newPassword" placeholder="请输入新密码"/>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button class="btn btn-default" type="button" data-dismiss="modal">取消</button>
					<button class="btn btn-primary" type="submit">保存修改</button>
				</div>
			</div>
		</div>
	</div>
</form>